﻿namespace MQTTServer.Models
{
    /// <summary>
    /// 设置手动 推送控制记录返回
    /// </summary>
    public class ManualPushRecordsAck
    {
        /// <summary>
        ///  设置手动 推送控制记录返回
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string MessageId { get; set; }

        /// <summary>
        ///  ManualPushRecordsAckInfo
        /// </summary>
        public ManualPushRecordsAckInfo Info { get; set; }
    }

    public class ManualPushRecordsAckInfo
    {
        /// <summary>
        /// 一体机设备号 id,返回值
        /// </summary>
        public string? FacesluiceId { get; set; }
        /// <summary>
        /// 匹配的控制记录总数（返回值）， 0:未搜索到匹配数据
        /// </summary>
        public int RecordNum { get; set; }
        /// <summary>
        /// 操作结果
        /// </summary>
        public string? Result { get; set; }
        /// <summary>
        /// 当 result 为“fail”时，错误信息
        /// </summary>
        public string? detail { get; set; }
    }
}